package com.bojiu.lawsearch.lawsearch.service;

import com.bojiu.lawsearch.lawsearch.model.LawBaseInfo;
import com.bojiu.lawsearch.lawsearch.model.SearchFactor;
import com.bojiu.lawsearch.lawsearch.model.UserCollect;
import com.bojiu.lawsearch.lawsearch.util.JsonResult;

import java.util.List;

/**
 * @author: afdiao
 * @Date：2020/3/18 16:35
 * @Description:
 */
public interface SearchService {
    List<LawBaseInfo> search(SearchFactor searchFactor) throws Exception;

    void clickCount(int typeId);

    JsonResult collectLabel(UserCollect userCollect,int userId);

    JsonResult getAll(int titleId);
}
